#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <string.h>
#include<stdlib.h>
#include "List.h"
#include <assert.h>



testSlist1()
{
	SListNode* slist = NULL;
	SListNode* n1 = malloc(sizeof(SListNode));
	SListNode* n2 = malloc(sizeof(SListNode));
	SListNode* n3 = malloc(sizeof(SListNode));
	n1->data = 1;
	n2->data = 2;
	n3->data = 3;
	n1->next = n2;
	n2->next = n3;
	n3->next = NULL;
	slist = n1;
	SListPushBack(&slist, 5);
	SListPushFront(&slist, 9);
	SListNodePrit(slist);


}
int main()
{

	testSlist1();

	return 0;
}